package com.school.dao;

import com.school.domain.Classes;

import java.util.List;

public interface ClassesDao {
    boolean add(Classes classes);
    boolean del(long clid);
    boolean del(String name);
    boolean update(Classes classes);
    Classes findById(long clid);
    Classes findByName(String name);
    List<Classes> findAll();
}
